<?php

namespace IDock\Insurance\JDAL\Response;

use IDock\Http\Response;

class PaymentCallbackResponse extends AllJDALResponse
{

    public $quoteNo;

    public $biPolicyNo;

    public $ciPolicyNo;

    public $NCPolicyNo;

    public $payTime;

    public $tradeStatus;

    public function printerInit(): Response
    {

        $this->quoteNo = $this->get('quoteNo');
        $this->biPolicyNo = $this->get('commPolicyNo');
        $this->ciPolicyNo = $this->get('ctplPolicyNo');
        $this->NCPolicyNo = $this->get('noCarPolicyNo');

        $this->payTime = $this->get('payTime');

        $this->tradeStatus = $this->get('tradeStatus');

        return $this;
    }
}
